<?php
/**
 * Created by PhpStorm.
 * User: zhangchao
 * Date: 2022/1/14
 * Time: 10:56
 */

namespace app\user\controller;

use app\post\model\CollectionModel;

class Collection extends Base
{
    //用户收藏
    public function index()
    {
        $articleList = CollectionModel::order("update_time desc")
            ->where("is_collection",1)
            ->paginate();
        return view('',[
            "articleList" => $articleList
        ]);
    }
}